#ifndef DATA_MANA_H
#define DATA_MANA_H

#include <QObject>
#include <QMutex>
#include "common/__defines.h"

class Data_Mana : public QObject
{
    Q_OBJECT
private:
    explicit Data_Mana(QObject *parent = nullptr);
    ~Data_Mana();
    static Data_Mana *_instance;

public:
    static Data_Mana *instance();

signals:


public:
    QMutex g_mutex;

    QVector<RegisterInfo*> g_vecModbusInfo;

    QVector<OperatePoint*> g_vecOperatePointInfo;

    QVector<OperatePoint*> g_vecOperatePointInfo_signal;
    QVector<OperatePoint*> g_vecOperatePointInfo_switch;
    QVector<OperatePoint*> g_vecOperatePointInfo_analog;
    QVector<OperatePoint*> g_vecOperatePointInfo_float;
};

#endif // DATA_MANA_H
